home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_1199
/
1196
< prev
next >
Wrap
Text File
|
1994-08-27
|
1KB
|
32 lines
Subject: Re: Gem List
Date: Wed, 03 Aug 1994 09:41:47 +1000
From: Warwick Allison <warwick@cs.uq.oz.au>
Precedence: bulk
"Daniel J. Hollis" wrote:
>Warwick:
>> The advantages of the TSR solution are:
>> 2. It's fast, so more supported.
>
>Depends on the interface, really. Why not write it in ANSI C, then compile
>it under various compilers and benchmark it? Then we go with the one that
>generates the smallest, fastest code. (I'm betting on Pure C :-)
I'm a computer scientist: I don't measure speed in seconds, I measure
it in algorithmic complexity. The TSR code I posted offers a
well-balanced trade-off between storage cost, initial load-time, and
look-up time. The look-up time could be further reduced, but it would
result in unacceptable increases in either storage cost (eg. break the
tree down to the character level) or initial load-time (eg. character-level
tree in compacted data structure).
Anyway, the code is quite irrelevant, so long as the TSR reads the
app_defs.sys file and provides the basic lookup function:
get_default_text(in string attribute, out string value)
And has bindings for different languages.
--
Warwick